<#include "/common/pager_style/commonForm.ftl" encoding="UTF-8">
<#-- 定义有哪些按钮 reset:重写 back:返回 -->
<#if editState="review">
<#if isLeader="1">
	<#if isLater?exists&&isLater="1">
	<#assign buttonsName = {"later":"同意延期","laterFive":"同意延期5日","laterTen":"同意延期10日","now":"即时办理","noAgree":"不同意","back":"返回"}>
	<#else>
	<#assign buttonsName = {"agree":"同意","noAgree":"不同意","back":"返回"}>
	</#if>
	<#else>
	<#assign buttonsName={"list":"刷新","back":"返回"}>
</#if>
<#else>
	<#assign buttonsName = {"back":"返回"}>
</#if>
<#assign buttonsImage = {"agree":"save.gif","hisRecord":"view.gif","hisReview":"view.gif","laterFive":"save.gif","later":"save.gif","laterTen":"save.gif","now":"detail.gif","noAgree":"detail.gif"}>
<#assign lookSubButtons={"hisRecord":"流转历史","hisReview":"审核历史"}>
<#assign selectButtons=[{"name":"其他菜单","icon":"icon-edit","subButtons":lookSubButtons}]>
<script type="text/javascript" src="${request.contextPath}/js/ntkoocx.js"></script>
<script type="text/javascript" src="${request.contextPath}/deptdoc/deptDoc.js"></script>
<script language="JavaScript">
<!--
var actName="weekReviewAction";
var domainName="weekReview";
$(function(){
	 $("span").each(function(){
    	if( $(this).html()=="同意延期5日"){
    		$(this).html("<font color='green'>同意延期5日</font>");
    	}
    	if( $(this).html()=="同意延期10日"){
    		$(this).html("<font color='green'>同意延期10日</font>");
    	}
    	if( $(this).html()=="即时办理"){
    		$(this).html("<font color='blue'>即时办理</font>");
    	}
    	if( $(this).html()=="不同意"){
    		$(this).html("<font color='red'>不同意</font>");
    	}
    	if( $(this).html()=="同意"){
    		$(this).html("<font color='green'>同意</font>");
    	}
  	});
});
function showWord(){
if($("#buttonSvrFile").val()=="显示正文"){
			$("#divTgContain").show();
			$("#wordBox").show();
			$("#divTgContain").contents().find("object").show();
			 $("#buttonSvrFile").val("隐藏正文");
	}else{
		$("#buttonSvrFile").val("显示正文");
		$("#divTgContain").hide();
		$("#wordBox").hide();
		$("#divTgContain").contents().find("object").hide();
	}

}
	
function checkForm(){
		var l = 0;
	    if(typeof($("#weekReview\\.opinion").val())=="string"){
	    	  l = $("#weekReview\\.opinion").val().length;
	    }
	    if(l>500){
	    	alert("审核意见不能超过500个字符！");
	    	return false;
	    }
    	 return true;
}
function opt_agree(){
	var type = "${(weekReview.applyType)?if_exists}";
		if(!confirm("是否确定同意？")){
		return false;
		}

	$("#isAgree").val("1");
	opt_setOption();
	$("form").eq(0).attr("action",actName + '!trueReview.shtml');
	$("form").eq(0).submit();
}

function opt_now(){
	if(!confirm("是否确定即时办理？")){
		return false;
	}
	$("#isAgree").val("2");
	$("#weekReview\\.opinion").val("即时办理");
	$("form").eq(0).attr("action",actName + '!trueReview.shtml');
	$("form").eq(0).submit();
}

function opt_setOption(){
	var type = "${(weekReview.applyType)?if_exists}";
	var value = $("#isAgree").val();
	if(type=="1"){
		if(value==-1){
			$("#weekReview\\.opinion").val("不同意延期");
		}
	}
	if(type=="3"){
		if(value==-1){
			$("#weekReview\\.opinion").val("不同意重办");
		}else if(value==1){
			$("#weekReview\\.opinion").val("同意重办");
		}
	}
	if(type=="2"){
		if(value==-1){
			$("#weekReview\\.opinion").val("非不同意件");
		}else if(value==1){
			$("#weekReview\\.opinion").val("不同意件");
		}
	}
	if(type=="4"){
		if(value==-1){
			$("#weekReview\\.opinion").val("主办退回审核不同意");
		}else if(value==1){
			$("#weekReview\\.opinion").val("主办退回审核同意");
		}
	}
	if(type=="5"){
		if(value==-1){
			$("#weekReview\\.opinion").val("退文申请不同意");
		}else if(value==1){
			$("#weekReview\\.opinion").val("退文申请同意");
		}
	}
	if(type=="提交审核"){
		if(value==-1){
			$("#weekReview\\.opinion").val("不同意提交");
		}else if(value==1){
			$("#weekReview\\.opinion").val("同意提交");
		}
	}
	if(type=="发文收回申请审核"){
		if(value==-1){
			$("#weekReview\\.opinion").val("不同意收回");
		}else if(value==1){
			$("#weekReview\\.opinion").val("同意收回");
		}
	}
	if(type=="主办收回申请审核"){
		if(value==-1){
			$("#weekReview\\.opinion").val("不同意收回");
		}else if(value==1){
			$("#weekReview\\.opinion").val("同意收回");
		}
	}if(type=="主办退回申请审核"){
		if(value==-1){
			$("#weekReview\\.opinion").val("不同意退回");
		}else if(value==1){
			$("#weekReview\\.opinion").val("同意退回");
		}
	}
}

function opt_submit(){
	var type = "${(weekReview.applyType)?if_exists}";
	var value = $("input[type='radio']:checked").val();
	if(type=="延期审核"){
		if(value==-1){
			$("#weekReview\\.opinion").val("不同意延期");
			opt_noAgree();
		}else if(value==0){
			opt_laterFive();
		}else if(value==1){
			opt_laterTen();
		}
	}
	if(type=="重办审核"){
		if(value==-1){
			$("#weekReview\\.opinion").val("不同意重办");
			opt_noAgree();
		}else if(value==0){
			$("#weekReview\\.opinion").val("同意重办");
			 opt_agree();
		}
	}
	if(type=="不同意件审核"){
		if(value==-1){
			$("#weekReview\\.opinion").val("非不同意件");
			opt_noAgree();
		}else if(value==0){
			$("#weekReview\\.opinion").val("不同意件");
			 opt_agree();
		}
	}
	if(type=="提交审核"){
		if(value==-1){
			$("#weekReview\\.opinion").val("不同意提交");
			opt_noAgree();
		}else if(value==0){
			$("#weekReview\\.opinion").val("同意提交");
			 opt_agree();
		}
	}
	if(type=="发文收回申请审核"){
		if(value==-1){
			$("#weekReview\\.opinion").val("不同意收回");
			opt_noAgree();
		}else if(value==0){
			$("#weekReview\\.opinion").val("同意收回");
			 opt_agree();
		}
	}
	if(type=="主办收回申请审核"){
		if(value==-1){
			$("#weekReview\\.opinion").val("不同意收回");
			opt_noAgree();
		}else if(value==0){
			$("#weekReview\\.opinion").val("同意收回");
			 opt_agree();
		}
	}
}

function opt_later(){

	var dateForDelay = "${(weekReview.delayDate)?if_exists}";
	if(!confirm("是否确定同意延期"+dateForDelay+"日？")){
		return false;
	}
	$("#weekReview\\.opinion").val("同意延期"+dateForDelay+"日");
	$("#isAgree").val("1");
	$("#laterTime").val(dateForDelay);
	$("form").eq(0).attr("action",actName + '!trueReview.shtml');
	$("form").eq(0).submit();
}

function opt_laterFive(){
	if(!confirm("是否确定同意延期5日？")){
		return false;
	}
	$("#weekReview\\.opinion").val("同意延期5日");
	$("#isAgree").val("1");
	$("#laterTime").val("5");
	$("form").eq(0).attr("action",actName + '!trueReview.shtml');
	$("form").eq(0).submit();
}

function opt_laterTen(){
	if(!confirm("是否确定同意延期10日？")){
		return false;
	}
	$("#weekReview\\.opinion").val("同意延期10日");
	$("#isAgree").val("1");
	$("#laterTime").val("10");
	$("form").eq(0).attr("action",actName + '!trueReview.shtml');
	$("form").eq(0).submit();
}


function opt_noAgree(){
var type = "${(weekReview.applyType)?if_exists}";
	if(type=="提交审核"){
		if(!confirm("确认不签发，退回单位管理员?")){
			return false;
		}
	}else{
		if(!confirm("是否确定不同意？")){
		return false;
		}
	}
	$("#isAgree").val("-1");
	opt_setOption();
	$("form").eq(0).attr("action",actName + '!trueReview.shtml');
	$("form").eq(0).submit();
}

function opt_hisReview(){
	<#if reviewList?exists&&reviewListLength?exists&&reviewListLength!='0' > 
	art.dialog({
	      	title: '审核记录',
	      	content: document.getElementById('reviewHistory'),
	      	width:'70%',
	      	height:'70%',
	      	lock: true,
	      	ok: function(){
	      	},
	      	cancel: false
	      });
	<#else>
	art.dialog({
	    title: '审核记录',
	    content: "暂无审核记录！",
	    lock: true,
	    ok: function(){
	    },
	    cancel:false
	});
	</#if>
}
function opt_hisRecord(){
	<#if reviewList1?exists&&reviewListLength1?exists&&reviewListLength1!='0' > 
	art.dialog({
	      	title: '流转历史',
	      	content: document.getElementById('recordHistory'),
	      	width:'70%',
	      	height:'70%',
	      	lock: true,
	      	ok: function(){
	      	},
	      	cancel: false
	      });
	<#else>
	art.dialog({
	    title: '流转历史',
	    content: "暂无流转历史！",
	    lock: true,
	    ok: function(){
	    },
	    cancel:false
	});
	</#if>
}
-->
</script>
<style>
#att1{
	width: 82%;
	margin-left:15%;
}
#att2{
	width: 82%;
	margin-left:15%;
}
.pad{
	padding:10px;
}
.ct{
	text-align:center;
}
</style>
<!--[if IE 8]>
<style>
.aui_title {position:absolute; top:0;}
</style>
<![endif]-->
</head>
<body class="frameForm">
<form name="form1" action="" method="post" class="form-horizontal" role="form" onsubmit="return checkForm();">
	<input type="hidden" id="weekReview.id" name="weekReview.id" value="${(weekReview.id)?if_exists}"/>
	<input type="hidden" id="isAgree" name="isAgree" value=""/>
	<input type="hidden" id="laterTime" name="laterTime" value=""/>
	<input type="hidden" name="isFromSysPendings" id="isFromSysPendings" value="${(isFromSysPendings)?if_exists}">
	<input type="hidden" id="reviewOpenDate" name="reviewOpenDate" value="${(reviewOpenDate)?if_exists}"/>
	<input type="hidden" name="sealPdfId" id="sealPdfId" value="${(sealPdfId)?if_exists?string}"	/>
    <input type="hidden" name="canSealPdfId" id="canSealPdfId" value="${(canSealPdfId)?if_exists?string}"	/>
	<input type="hidden" id="deptweekRecord.docDataId" name="deptweekRecord.docDataId" value="${(deptweekRecord.docDataId)?if_exists}"/>
	<input type="hidden" id="deptweekRecord.expectTime" name="deptweekRecord.expectTime" value="${(deptweekRecord.expectTime)?if_exists}"/>
	<input type="hidden" id="deptweekRecord.formCode" name="deptweekRecord.formCode" value="${(deptweekRecord.formCode)?if_exists}"/>
	<input type="hidden" id="isNeedChangeexpectTime" name="isNeedChangeexpectTime" value="0"/>
	<input type="hidden" id="isDraft" name="isDraft" value="0"/>
	<div class="ui-com-top">
		<#-- 生成按钮 -->
		<#include "/common/pager_style/pageButtonsEx.ftl" encoding="UTF-8">
	</div><!-- end #ui-com-top -->
	<div class="ui-com-main">
	<div class="ui-formfield">
	<table class="tbl">
		<caption>审核申请</caption>
		<tbody>
			<!-- 数据录入 -->
			<tr>
				<td class="empty" style="padding:0; border:0;" width="15%"></td>
				<td class="empty" style="padding:0; border:0;" width="35%"></td>
				<td class="empty" style="padding:0; border:0;" width="15%"></td>
				<td class="empty" style="padding:0; border:0;" width="35%"></td>
			</tr>
					<@pEdit.pageEditText
							label="标题"
							pageState=""
							beginTR="true"
							endTR="false"
							attName="weekReview.weekRecord.title"
							attValue="${(weekReview.weekRecord.title)?if_exists}"
							colSpanNum="3"/>
												
					 <@pEdit.pageEditText
							label="文号"
							pageState="${editState}"
							inputReadOnly="true"
							attName="weekReview.weekRecord.docNum"
							colSpanNum="3"
							attValue="${(weekReview.weekRecord.docNum)?if_exists}"/>
							
					 <@pEdit.pageEditText
							label="发文单位"
							pageState=""
							inputReadOnly="true"
							attName="weekReview.weekRecord.lwUnit.name"
							colSpanNum="3"
							attValue="${(weekReview.weekRecord.lwUnit.name)?if_exists}"/>
						
					<#if weekReview.weekRecord.formCode ='zdbgy'>		
					 <@pEdit.pageEditText
							label="分管领导"
							pageState=""
							inputReadOnly="true"
							attName="weekReview.weekRecord.swLeader.userName"
							colSpanNum="3"
							attValue="${(weekReview.weekRecord.swLeader.userName)?if_exists}"/>
					</#if>
								
					 <@pEdit.pageEditText
							label="办理时限"
							pageState=""
							inputReadOnly="true"
							attName="weekReview.weekRecord.expectTime"
							colSpanNum="3"
							attValue="${(weekReview.weekRecord.expectTime)?if_exists}"/>

					<#if weekReview.weekRecord.receiveTime?exists&weekReview.weekRecord.receiveTime!='未查看'>
					 <@pEdit.pageEditText
							label="收文时间"
							pageState="${editState}"
							inputReadOnly="true"
							attName="weekReview.weekRecord.receiveTime"
							colSpanNum="3"
							attValue="${(weekReview.weekRecord.receiveTime)?if_exists}"/>
					</#if>
					
					 <@pEdit.pageEditText
							label="主办单位"
							pageState="${editState}"
							inputReadOnly="true"
							attName="weekReview.weekRecord.swUnit.name"
							colSpanNum="3"
							attValue="${(weekReview.weekRecord.swUnit.name)?if_exists}"/>
					
					
					 <@pEdit.pageEditText
							label="缓急程度"
							pageState="${editState}"
							inputReadOnly="true"
							attName="strEmergercyDegree"
							colSpanNum="3"
							attValue="${(strEmergercyDegree)?if_exists}"/>
					<input type="hidden" id="weekReview.weekRecord.emergercyDegree" name="weekReview.weekRecord.emergercyDegree" value="${(weekReview.weekRecord.emergercyDegree)?if_exists}"/>			
					<th>				
					附件
					</th>	
					<td colspan=3>
						<div id="_attachments3" style="text-align:left;"></div>
					<script type="text/javascript">
					<!--
						$(document).ready(function(){
							var $attach=$("#_attachments3");
							// 生成供下载的附件及上传功能
							var isShowed=$attach.attr("isShowed");
							if(isEmpty(isShowed) || isShowed!="true"){
								$attach.showAttachment("WEEK_RECORD",${(weekReview.weekRecord.docDataId)?if_exists},{type:""});
								$attach.attr("isShowed","false");
							}
						});
					//-->
					</script>
					</td>	
					

			<#if isLeader="1">
			<@pEdit.pageEditText
					label="审核类型"
					pageState=""
					inputReadOnly="true"
					attName="strApplyType"
					attValue="${(strApplyType)?if_exists}"
					colSpanNum="3"
					/>
				<#if isLater?exists&&isLater="1">
				<@pEdit.pageEditText
						label="延期申请天数"
						pageState=""
						inputReadOnly="true"
						attName="strDelayDate"
						attValue="延期申请${(weekReview.delayDate)?if_exists}天"
						colSpanNum="3"
						/>		
				</#if>				
			<input type="hidden" id="weekReview.applyType" name="weekReview.applyType" value="${(weekReview.applyType)?if_exists}"/>
			<#else>
				<@pEdit.pageEditText
					label="审核类型"
					pageState=""
					inputReadOnly="true"
					attName="strApplyType"
					attValue="${(strApplyType)?if_exists}"
					colSpanNum="3"
					/>	
					
					<#if isLater?exists&&isLater="1">
					<@pEdit.pageEditText
							label="延期申请天数"
							pageState=""
							inputReadOnly="true"
							attName="strDelayDate"
							attValue="延期申请${(weekReview.delayDate)?if_exists}天"
							colSpanNum="3"
							/>		
					</#if>	
			<input type="hidden" id="weekReview.applyType" name="weekReview.applyType" value="${(weekReview.applyType)?if_exists}"/>	
				<@pEdit.pageEditText
					label="审核结果"
					pageState="${editState}"
					inputReadOnly="true"
					attName="status"
					attValue="${(status)?if_exists}"
					colSpanNum="3"
					/>
			</#if>
			<@pEdit.pageEditTextarea
					beginTR = "true"
					endTR = "true"
					label="申请理由"
					height="40"
					inputReadOnly="true"
					cssStyle="height:70px"
					pageState=""
					attName="weekReview.applyReason"
					attValue="${(weekReview.applyReason)?if_exists}"
					colSpanNum="3"/>
				<#if isLeader="1">
					<input type="hidden" id="weekReview.opinion" name="weekReview.opinion" value="${(weekReview.opinion)?if_exists}">
				<#else>
				<@pEdit.pageEditText
					label="审核人"
					inputReadOnly="true"
					pageState="${editState}"
					attName="weekReview.reviewBy.userName"
					attValue="${(weekReview.reviewBy.userName)?if_exists}"
					colSpanNum="3"/>
					<@pEdit.pageEditText
					beginTR = "true"
					endTR = "true"
					label="审核意见"
					inputReadOnly="true"
					pageState="${editState}"
					attName="weekReview.opinion"
					attValue="${(weekReview.opinion)?if_exists}"
					colSpanNum="3"/>
				</#if>
			
		</tbody>
	</table><!-- 数据录入结束 -->
<!--===============流转历史start======================-->
				<div id="recordHistory" class="pad" style="height:500px;display:none;overflow-x:hidden;overflow-y:auto" >		
		<#if reviewList1?exists&&reviewListLength1?exists&&reviewListLength1!='0' > 
			<table class="tbl">
			<caption>流转历史</caption>
			<!-- 数据录入 -->
			<tbody>
				<tr>
				<td class="empty" style="padding:0; border:0;" width="5%"></td>
				<td class="empty" style="padding:0; border:0;" width="10%"></td>
				<td class="empty" style="padding:0; border:0;" width="20%"></td>
				<td class="empty" style="padding:0; border:0;" width="20%"></td>
				<td class="empty" style="padding:0; border:0;" width="10%"></td>
				<td class="empty" style="padding:0; border:0;" width="10%"></td>
				</tr>
				<td align="center">序号</td>
				<td align="center">单位名称</td>
				<td align="center">完成情况</td>
				<td align="center">附件</td>
				<td	align="center">打开时间</td>
				<td align="center">完成时间</td>				
			 <#list reviewList1 as review>
			 	<tr>	
			<td align="center">${((review.num)?if_exists)?html}</td>
			<td align="center">${((review.createUnit)?if_exists)?html}</td>
			<td align="center">${((review.title)?if_exists)?html}</td>
					<td align="center" >
						<div id="${(review.docDataId)?if_exists}a" class="uploadstyle" style="text-align:left;"></div>
					<script type="text/javascript">
					<!--
						$(document).ready(function(){
							var $attach=$("#${(review.docDataId)?if_exists}a");
							// 生成供下载的附件及上传功能
							var isShowed=$attach.attr("isShowed");
							if(isEmpty(isShowed) || isShowed!="true"){
								$attach.showAttachment("DEPT_DOC_RECORD",${(review.docDataId)?if_exists},{type:""});
								$attach.attr("isShowed","false");
							}
						});
					//-->
					</script>
					</td>
						
				<td align="center">${((review.reviewTime)?if_exists)?html}</td>
				<td align="center">${((review.finishTime)?if_exists)?html}</td>	
					</tr>
			 </#list>
			 
			</tbody>
		</table>
		 </#if>
		</div>
<!--=============流转历史end=================-->
<!--=============协办意见start===========-->
		 <div id="coOperation" class="pad" style="height:500px;display:none;overflow-x:hidden;overflow-y:auto" >		
		<#if deptDocCoOperationList?exists&&deptDocCoOperationListLength?exists&&deptDocCoOperationListLength!='0' > 
			<table class="tbl">
			<caption>协办单位意见</caption>
			<!-- 数据录入 -->
			<tbody>
				<tr>
				<td  class="empty" style="padding:0; border:0;" width="20%"></td>
				<td  class="empty" style="padding:0; border:0;" width="20%"></td>
				<td  class="empty" style="padding:0; border:0;" width="10%"></td>
				<td  class="empty" style="padding:0; border:0;" width="10%"></td>
				<td  class="empty" style="padding:0; border:0;" width="10%"></td>
				</tr>

				<td align="center">协办单位</td>
				<td align="center">协办意见</td>
				<td align="center">附件</td>
				<td	align="center">完成人</td>
				<td align="center">完成时间</td>	
			
			 <#list deptDocCoOperationList as review>
			 	<tr>	
			<td align="center">${((review.unitId.name)?if_exists)?html}</td>
			<td align="center">${((review.opinion)?if_exists)?html}</td>
			<td align="center" >
						<div id="${(review.docDataId)?if_exists}c" class="uploadstyle" style="text-align:left;"></div>
					<script type="text/javascript">
					<!--
						$(document).ready(function(){
							var $attach=$("#${(review.docDataId)?if_exists}c");
							// 生成供下载的附件及上传功能
							var isShowed=$attach.attr("isShowed");
							if(isEmpty(isShowed) || isShowed!="true"){
								$attach.showAttachment("DEPT_DOC_RECORD",${(review.docDataId)?if_exists},{type:""});
								$attach.attr("isShowed","false");
							}
						});
					//-->
					</script>
			</td>
			<td align="center">${((review.finishBy.userName)?if_exists)?html}</td>
			<td align="center">${((review.finishTime)?if_exists)?html}</td>	
				</tr>
			 </#list>
			 
			</tbody>
		</table>
		 </#if>
		 </div>
<!--====================协办意见end=========================-->	
			
		 <div id="reviewHistory"  class="pad" style="height:500px;display:none;overflow-x:hidden;overflow-y:auto" >
		 <#if reviewList?exists&&reviewListLength?exists&&reviewListLength!='0' > 
		<table class="tbl">
		<caption>审核记录</caption>
		<!-- 数据录入 -->
		<tbody>
			<tr>
				<td class="empty" style="padding:0; border:0;" width="10%"></td>
				<td class="empty" style="padding:0; border:0;" width="13%"></td>
				<td class="empty" style="padding:0; border:0;" width="10%"></td>
				<td class="empty" style="padding:0; border:0;" width="13%"></td>
				<td class="empty" style="padding:0; border:0;" width="10%"></td>
				<td class="empty" style="padding:0; border:0;" width="13%"></td>
				<td class="empty" style="padding:0; border:0;" width="10%"></td>
				<td class="empty" style="padding:0; border:0;" width="21%"></td>
			</tr>
	        <#list reviewList as review>
	        <#if review.status!='0'>
	        	<@pEdit.pageEditText
					label="审核类型"
					pageState=""
					endTR="false"
					attName="review.applyType"
					attValue="${(review.applyType)?if_exists}"
					colSpanNum="1"
					/>
					
					<@pEdit.pageEditText
					label="审核人"
					pageState=""
					beginTR="false"
					endTR="false"
					attName="review.reviewBy.userName"
					attValue="${(review.reviewBy.userName)?if_exists}"
					colSpanNum="1"
					/>
					<@pEdit.pageEditSelectUserValue
					label="审核结果"
					colSpanNum="1"
					beginTR="false"
					endTR="false"
					colSpanNum="1"
					pageState=""
					attName="review.status"
					attValue="${(review.status)?if_exists}"
					optionSource={"-1":"不同意","1":"同意"}
					defaultValue="1"
					/>	
				<@pEdit.pageEditText
					label="审核时间"
					colSpanNum="1"
					beginTR="false"
					endTR="true"
					pageState=""
					attName="review.reviewTime"
					attValue="${(review.reviewTime)?if_exists}"
					/>	
			<@pEdit.pageEditText
					beginTR = "true"
					endTR = "true"
					label="审核意见"
					inputReadOnly="true"
					pageState="${editState}"
					attName="review.opinion"
					attValue="${(review.opinion)?if_exists}"
					colSpanNum="8"/>
	        </#if>
	        </#list>
        </tbody>
	</table>
        </#if>	
     </div>
     <div style="padding-left:21px">
        <input type='button' style = "font-size:15px" id="buttonSvrFile" value="隐藏正文" onclick="showWord();return false;">
     </div>
     <div id='wordBox'>
		<iframe border=0 id='divTgContain' src="./workflow/jet/TGPDFPlugInCtrlView.htm" width='100%' height='850px' ></iframe>
	</div>	
	</div><!-- end #ui-formfield -->
	</div><!-- end #ui-com-main -->
</form>
</body>
</html>